
#ifndef RT_H_
#define RT_H_

#include <vector>
#include <map>
#include <utility>
#include <iostream>


using namespace std;

class RT{
private:
	map<int,pair<int,int> > _table;
	int _owner;
	vector<int> _nodes;
	int MAX_DIST;

public:
	RT(vector<int> nodes, int ownerId);
	virtual ~RT();
	void Reset();
	void printRT();
	bool update(RT* neighborRT);
	int getID();
	int getSize();
};
#endif /* RT_H_ */
